export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        name: 'login',
        path: '/user/login',
        component: './user/Login',
      },
    ],
  },
  {
    path: '/park-lot',
    name: 'parkLot',
    component: './park-lot',
  },
  {
    path: '/park-record',
    name: 'parkRecord',
    component: './park-record',
  },
  {
    path: '/park-space',
    name: 'parkSpace',
    component: './park-space',
  },
  {
    path: '/',
    redirect: '/park-lot',
  },
  {
    hideInMenu: true,
    component: './404',
  },
];
